let mongoose = require('mongoose')


const objSchema = new mongoose.Schema({
	//物品分类
	objSort:{
		type: Number
	},
	//物品图片
	objAvatar:{
		type: String,
		default: null
	},
	gainPlace: String,
	describe: String,
	objPublic: {
		type: String,
		default: ''
	}
})

let Obj = mongoose.model('Obj',objSchema)

module.exports = Obj
